/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: Direcotry.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/3/11 上午9:24
 * LastModified: 2020/03/11 09:24:11
 */

package com.qolome.knowledge.design.pattern.composite.demo.safe;

import lombok.extern.slf4j.Slf4j;

/**
 * @author Qolome
 * @version V1.0
 * @Description 文件
 * @date 2020年 03月11日 09:24:15
 */
@Slf4j
public class File extends Direcotry{


    public File(String name) {
        super(name);
    }

    @Override
    public void show() {

        log.info("file name :{}",name);
    }
}
